export xml

108

export xml -

var xmlDoc = new XElement("TestPoints",
                from test in g.dc.users
                select
                new XElement("TestPoint",
                    new XElement("Id", test.id_user),
                    new XElement("Value", test.username)
                    )
                );
            xmlDoc.Save("test.xml");

Comments

Submit
0 Comments